package com.ios.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Attention {
    private Integer id;

    private Integer disablerId1;

    private Integer disablerId2;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDisablerId1() {
        return disablerId1;
    }

    public void setDisablerId1(Integer disablerId1) {
        this.disablerId1 = disablerId1;
    }

    public Integer getDisablerId2() {
        return disablerId2;
    }

    public void setDisablerId2(Integer disablerId2) {
        this.disablerId2 = disablerId2;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Attention{" +
                "id=" + id +
                ", disablerId1=" + disablerId1 +
                ", disablerId2=" + disablerId2 +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}